﻿@model MovieMadness.Model.Movie
<br />
@{
    ViewBag.Title = "Details";
}

<h2>Movie Details:</h2>

<div class="well">

    <h3>@Model.Title</h3>
    <h4>@Model.Genre</h4>
    <h5>@Model.Year</h5>
    @Html.ActionLink("Edit Movie", "EditMovie", "Home", new { id = Model.MovieId }, new { @class = "btn btn-default" })
    @Html.ActionLink("Index", "Index", null, new { @class = "btn btn-primary" })

    <br /> <br/>
    @Html.ActionLink("Add Review", "AddReview", "Reviews", new { id = Model.MovieId }, new { @class = "btn btn-default" })
    @Html.ActionLink("List of Reviews", "Index", "Reviews" ,null, new { @class = "btn btn-primary" })


</div>


@*
    <h3>Actors:</h3>
    @foreach (var r in Model.Actor)
    {
        <h4>@r.Name</h4>
    }
    <br />
*@